<!DOCTYPE html>
<html class="client-nojs vector-feature-night-mode-disabled vector-feature-language-in-header-enabled vector-feature-language-in-main-page-header-disabled vector-feature-page-tools-pinned-disabled vector-feature-toc-pinned-clientpref-1 vector-feature-main-menu-pinned-disabled vector-feature-limited-width-clientpref-1 vector-feature-limited-width-content-enabled vector-feature-custom-font-size-clientpref-1 vector-feature-appearance-pinned-clientpref-1 vector-sticky-header-enabled" lang="en" dir="ltr"><head>
<meta charset="UTF-8">
<title>Python Imaging Library</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="canonical" href="https://en.wikipedia.org/wiki/Python_Imaging_Library"> <link href="./mw/ext.cite.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/ext.pygments.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.icons.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.search.codex.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/skins.vector.styles.css" rel="stylesheet" type="text/css">
<link href="./mw/user.styles.css" rel="stylesheet" type="text/css">
<meta name="ResourceLoaderDynamicStyles" content="">
<link rel="stylesheet" type="text/css" href="./mw/site.styles.css">
<link rel="stylesheet" type="text/css" href="./mw/noscript.css">
<link rel="stylesheet" type="text/css" href="./footer.css">
<link rel="stylesheet" type="text/css" href="./vector-2022.css">
</head>
<body class="skin--responsive skin-vector skin-vector-search-vue mediawiki ltr sitedir-ltr mw-hide-empty-elt ns-0 ns-subject page-Python_Imaging_Library rootpage-Python_Imaging_Library skin-vector-2022 action-view">
<div class="mw-page-container">
<div class="mw-page-container-inner">
<div class="mw-content-container">
<main id="content" class="mw-body">
<header class="mw-body-header vector-page-titlebar">
<h1 id="firstHeading" class="firstHeading mw-first-heading">
<span id="openzim-page-title" class="mw-page-title-main"><span class="mw-page-title-main">Python Imaging Library</span></span>
</h1>
</header>
<a id="top"></a>
<div id="bodyContent" class="vector-body ve-init-mw-desktopArticleTarget-targetContainer" aria-labelledby="firstHeading" data-mw-ve-target-container="">
<div id="mw-content-text" class="mw-body-content mw-content-ltr" lang="en" dir="ltr"><div class="mw-content-ltr mw-parser-output" lang="en" dir="ltr">
<style data-mw-deduplicate="TemplateStyles:r1295905060">
/* start https://en.wikipedia.org/ */
.mw-parser-output .infobox-subbox{padding:0;border:none;margin:-3px;width:auto;min-width:100%;font-size:100%;clear:none;float:none;background-color:transparent}.mw-parser-output .infobox-3cols-child{margin:auto}.mw-parser-output .infobox .navbar{font-size:100%}@media screen{html.skin-theme-clientpref-night .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .infobox-full-data:not(.notheme)>div:not(.notheme)[style]{background:#1f1f23!important;color:#f8f9fa}}@media(min-width:640px){body.skin--responsive .mw-parser-output .infobox-table{display:table!important}body.skin--responsive .mw-parser-output .infobox-table>caption{display:table-caption!important}body.skin--responsive .mw-parser-output .infobox-table>tbody{display:table-row-group}body.skin--responsive .mw-parser-output .infobox-table th,body.skin--responsive .mw-parser-output .infobox-table td{padding-left:inherit;padding-right:inherit}}
/* end https://en.wikipedia.org/ */
</style><table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above summary">Python Imaging Library</th></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Programmer" title="Programmer">Original author(s)</a></th><td class="infobox-data">Fredrik Lundh</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Programmer" title="Programmer">Developer(s)</a></th><td class="infobox-data">Secret Labs AB</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Initial release</th><td class="infobox-data">1995<span style="display:none"> (<span class="bday dtstart published updated">1995</span>)</span><sup id="cite_ref-license_1-0" class="reference"><a href="#cite_note-license-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></td></tr><tr style="display: none;"><td colspan="2" class="infobox-full-data"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">1.1.7
/ November 15, 2009<span style="display:none"> (<span class="bday dtstart published updated">2009-11-15</span>)</span><sup id="cite_ref-website_3-0" class="reference"><a href="#cite_note-website-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup></div></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle#Beta" title="Software release life cycle">Preview release</a></th><td class="infobox-data"><div style="margin:0px;">1.2a0<sup id="cite_ref-hg_2-0" class="reference"><a href="#cite_note-hg-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup>
/ 2011<span style="display:none"> (<span class="bday dtstart published updated">2011</span>)</span></div></td></tr><tr style="display:none"><td colspan="2">
</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Written in</th><td class="infobox-data"><a href="Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="C_(programming_language)" title="C (programming language)">C</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_categories#Categorization_approaches" title="Software categories">Type</a></th><td class="infobox-data">Library for <a href="Image_processing" class="mw-redirect" title="Image processing">image processing</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="Historical_Permission_Notice_and_Disclaimer" title="Historical Permission Notice and Disclaimer">Historical Permission Notice and Disclaimer</a><sup id="cite_ref-license_1-1" class="reference"><a href="#cite_note-license-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://python-pillow.github.io/">python-pillow<wbr>.github<wbr>.io</a></span></td></tr></tbody></table>
<table class="infobox vevent"><tbody><tr><th colspan="2" class="infobox-above summary">Pillow</th></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Programmer" title="Programmer">Original author(s)</a></th><td class="infobox-data">Jeffrey A. Clark (Alex)</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Initial release</th><td class="infobox-data">31 July 2010<span style="display:none"> (<span class="bday dtstart published updated">2010-07-31</span>)</span><sup id="cite_ref-license_1-2" class="reference"><a href="#cite_note-license-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></td></tr><tr style="display: none;"><td colspan="2" class="infobox-full-data"></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_release_life_cycle" title="Software release life cycle">Stable release</a></th><td class="infobox-data"><div style="margin:0px;">11.1.0
/ January 2, 2025<span style="display:none"> (<span class="bday dtstart published updated">2025-01-02</span>)</span><sup id="cite_ref-4" class="reference"><a href="#cite_note-4"><span class="cite-bracket">[</span>4<span class="cite-bracket">]</span></a></sup></div></td></tr><tr style="display:none"><td colspan="2">
</td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Written in</th><td class="infobox-data"><a href="Python_(programming_language)" title="Python (programming language)">Python</a>, <a href="C_(programming_language)" title="C (programming language)">C</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_categories#Categorization_approaches" title="Software categories">Type</a></th><td class="infobox-data">Library for <a href="Image_processing" class="mw-redirect" title="Image processing">image processing</a></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;"><a href="Software_license" title="Software license">License</a></th><td class="infobox-data"><a href="Historical_Permission_Notice_and_Disclaimer" title="Historical Permission Notice and Disclaimer">Historical Permission Notice and Disclaimer</a><sup id="cite_ref-license_1-3" class="reference"><a href="#cite_note-license-1"><span class="cite-bracket">[</span>1<span class="cite-bracket">]</span></a></sup></td></tr><tr><th scope="row" class="infobox-label" style="white-space: nowrap;">Website</th><td class="infobox-data"><span class="url"><a rel="nofollow" class="external text" href="https://python-pillow.github.io/">python-pillow<wbr>.github<wbr>.io</a></span></td></tr></tbody></table>
<p><b>Python Imaging Library</b> is a <a href="Free_and_open-source_software" title="Free and open-source software">free and open-source</a> additional <a href="Library_(computing)" title="Library (computing)">library</a> for the <a href="Python_(programming_language)" title="Python (programming language)">Python programming language</a> that adds support for opening, <a href="Image_editing" title="Image editing">manipulating</a>, and saving many different <a href="Image_file_formats" class="mw-redirect" title="Image file formats">image file formats</a>. It is available for <a href="Microsoft_Windows" title="Microsoft Windows">Windows</a>, <span class="nowrap">Mac OS X</span> and <a href="Linux" title="Linux">Linux</a>. The latest version of PIL is 1.1.7, was released in September 2009 and supports Python 1.5.2–2.7.<sup id="cite_ref-website_3-1" class="reference"><a href="#cite_note-website-3"><span class="cite-bracket">[</span>3<span class="cite-bracket">]</span></a></sup>
</p><p>Development of the original project, known as <b>PIL</b>, was discontinued in 2011.<sup id="cite_ref-hg_2-1" class="reference"><a href="#cite_note-hg-2"><span class="cite-bracket">[</span>2<span class="cite-bracket">]</span></a></sup> Subsequently, a successor project named <b>Pillow</b> <a href="Fork_(software_development)" title="Fork (software development)">forked</a> the PIL repository and added Python 3.x support.<sup id="cite_ref-pillow_5-0" class="reference"><a href="#cite_note-pillow-5"><span class="cite-bracket">[</span>5<span class="cite-bracket">]</span></a></sup> This fork has been adopted as a replacement for the original PIL in <a href="Linux_distribution" title="Linux distribution">Linux distributions</a> including <a href="Debian_GNU/Linux" class="mw-redirect" title="Debian GNU/Linux">Debian</a><sup id="cite_ref-6" class="reference"><a href="#cite_note-6"><span class="cite-bracket">[</span>6<span class="cite-bracket">]</span></a></sup> and <a href="Ubuntu" title="Ubuntu">Ubuntu</a> (since <a href="Ubuntu_version_history#1304" title="Ubuntu version history">13.04</a>).<sup id="cite_ref-7" class="reference"><a href="#cite_note-7"><span class="cite-bracket">[</span>7<span class="cite-bracket">]</span></a></sup>
</p>
<meta property="mw:PageProp/toc">
<div class="mw-heading mw-heading2"><h2 id="Capabilities">Capabilities</h2></div>
<p>PIL offers several standard procedures for image manipulation. These include:
</p>
<ul><li>per-pixel manipulations,<sup id="cite_ref-8" class="reference"><a href="#cite_note-8"><span class="cite-bracket">[</span>8<span class="cite-bracket">]</span></a></sup></li>
<li>masking and transparency handling,</li>
<li>image filtering, such as blurring, contouring, smoothing, or edge finding,<sup id="cite_ref-9" class="reference"><a href="#cite_note-9"><span class="cite-bracket">[</span>9<span class="cite-bracket">]</span></a></sup></li>
<li>image enhancing, such as sharpening, adjusting brightness, contrast or color,<sup id="cite_ref-10" class="reference"><a href="#cite_note-10"><span class="cite-bracket">[</span>10<span class="cite-bracket">]</span></a></sup></li>
<li>adding text</li></ul>
<div class="mw-heading mw-heading2"><h2 id="File_formats">File formats</h2></div>
<p>Supported file formats include <a href="Netpbm_format" class="mw-redirect" title="Netpbm format">PPM</a>, <a href="Portable_Network_Graphics" class="mw-redirect" title="Portable Network Graphics">PNG</a>, <a href="JPEG" title="JPEG">JPEG</a>, <a href="GIF" title="GIF">GIF</a>, <a href="TIFF" title="TIFF">TIFF</a>, and <a href="BMP_file_format" title="BMP file format">BMP</a>.
PIL is extensible, allowing users to create custom decoders for any file format.<sup id="cite_ref-11" class="reference"><a href="#cite_note-11"><span class="cite-bracket">[</span>11<span class="cite-bracket">]</span></a></sup>
</p>
<div class="mw-heading mw-heading2"><h2 id="Programming_examples">Programming examples</h2></div>
<div class="mw-highlight mw-highlight-lang-python mw-content-ltr" dir="ltr"><pre><span class="kn">import</span><span class="w"> </span><span class="nn">os</span>
<span class="kn">from</span><span class="w"> </span><span class="nn">PIL</span><span class="w"> </span><span class="kn">import</span> <span class="n">Image</span>
<span class="k">def</span><span class="w"> </span><span class="nf">convert_jpegs_to_pngs</span><span class="p">(</span><span class="n">folder_path</span><span class="p">):</span>
<span class="c1"># Checks if the provided path is a folder</span>
<span class="k">if</span> <span class="ow">not</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">isdir</span><span class="p">(</span><span class="n">folder_path</span><span class="p">):</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"Error: </span><span class="si">{</span><span class="n">folder_path</span><span class="si">}</span><span class="s2"> is not a valid folder."</span><span class="p">)</span>
<span class="k">return</span>
<span class="c1"># Iterates over all files in the folder</span>
<span class="k">for</span> <span class="n">filename</span> <span class="ow">in</span> <span class="n">os</span><span class="o">.</span><span class="n">listdir</span><span class="p">(</span><span class="n">folder_path</span><span class="p">):</span>
<span class="c1"># Checks if the file has a .jpg or .jpeg extension</span>
<span class="k">if</span> <span class="n">filename</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s2">".jpg"</span><span class="p">)</span> <span class="ow">or</span> <span class="n">filename</span><span class="o">.</span><span class="n">lower</span><span class="p">()</span><span class="o">.</span><span class="n">endswith</span><span class="p">(</span><span class="s2">".jpeg"</span><span class="p">):</span>
<span class="c1"># Full path of the file</span>
<span class="n">jpeg_path</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">folder_path</span><span class="p">,</span> <span class="n">filename</span><span class="p">)</span>
<span class="c1"># Path for the converted file</span>
<span class="n">png_path</span> <span class="o">=</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">folder_path</span><span class="p">,</span> <span class="n">os</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">splitext</span><span class="p">(</span><span class="n">filename</span><span class="p">)[</span><span class="mi">0</span><span class="p">]</span> <span class="o">+</span> <span class="s2">".png"</span><span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="c1"># Opens the JPEG image</span>
<span class="k">with</span> <span class="n">Image</span><span class="o">.</span><span class="n">open</span><span class="p">(</span><span class="n">jpeg_path</span><span class="p">)</span> <span class="k">as</span> <span class="n">img</span><span class="p">:</span>
<span class="c1"># Converts and saves as PNG</span>
<span class="n">img</span><span class="o">.</span><span class="n">save</span><span class="p">(</span><span class="n">png_path</span><span class="p">,</span> <span class="s2">"PNG"</span><span class="p">)</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"Converted </span><span class="si">{</span><span class="n">jpeg_path</span><span class="si">}</span><span class="s2"> to </span><span class="si">{</span><span class="n">png_path</span><span class="si">}</span><span class="s2">"</span><span class="p">)</span>
<span class="k">except</span> <span class="ne">Exception</span> <span class="k">as</span> <span class="n">e</span><span class="p">:</span>
<span class="nb">print</span><span class="p">(</span><span class="sa">f</span><span class="s2">"Error converting </span><span class="si">{</span><span class="n">jpeg_path</span><span class="si">}</span><span class="s2">: </span><span class="si">{</span><span class="n">e</span><span class="si">}</span><span class="s2">"</span><span class="p">)</span>
</pre></div>
<div class="mw-heading mw-heading2"><h2 id="References">References</h2></div>
<style data-mw-deduplicate="TemplateStyles:r1239543626">
/* start https://en.wikipedia.org/ */
.mw-parser-output .reflist{margin-bottom:0.5em;list-style-type:decimal}@media screen{.mw-parser-output .reflist{font-size:90%}}.mw-parser-output .reflist .references{font-size:100%;margin-bottom:0;list-style-type:inherit}.mw-parser-output .reflist-columns-2{column-width:30em}.mw-parser-output .reflist-columns-3{column-width:25em}.mw-parser-output .reflist-columns{margin-top:0.3em}.mw-parser-output .reflist-columns ol{margin-top:0}.mw-parser-output .reflist-columns li{page-break-inside:avoid;break-inside:avoid-column}.mw-parser-output .reflist-upper-alpha{list-style-type:upper-alpha}.mw-parser-output .reflist-upper-roman{list-style-type:upper-roman}.mw-parser-output .reflist-lower-alpha{list-style-type:lower-alpha}.mw-parser-output .reflist-lower-greek{list-style-type:lower-greek}.mw-parser-output .reflist-lower-roman{list-style-type:lower-roman}
/* end https://en.wikipedia.org/ */
</style><div class="reflist">
<div class="mw-references-wrap mw-references-columns"><ol class="references">
<li id="cite_note-license-1"><span class="mw-cite-backlink">^ <a href="#cite_ref-license_1-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-license_1-1"><sup><i><b>b</b></i></sup></a> <a href="#cite_ref-license_1-2"><sup><i><b>c</b></i></sup></a> <a href="#cite_ref-license_1-3"><sup><i><b>d</b></i></sup></a></span> <span class="reference-text"><style data-mw-deduplicate="TemplateStyles:r1238218222">
/* start https://en.wikipedia.org/ */
.mw-parser-output cite.citation{font-style:inherit;word-wrap:break-word}.mw-parser-output .citation q{quotes:"\"""\"""'""'"}.mw-parser-output .citation:target{background-color:rgba(0,127,255,0.133)}.mw-parser-output .id-lock-free.id-lock-free a{background:url("./mw/Lock-green.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-limited.id-lock-limited a,.mw-parser-output .id-lock-registration.id-lock-registration a{background:url("./mw/Lock-gray-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .id-lock-subscription.id-lock-subscription a{background:url("./mw/Lock-red-alt-2.svg")right 0.1em center/9px no-repeat}.mw-parser-output .cs1-ws-icon a{background:url("./mw/Wikisource-logo.svg")right 0.1em center/12px no-repeat}body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-free a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-limited a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-registration a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .id-lock-subscription a,body:not(.skin-timeless):not(.skin-minerva) .mw-parser-output .cs1-ws-icon a{background-size:contain;padding:0 1em 0 0}.mw-parser-output .cs1-code{color:inherit;background:inherit;border:none;padding:inherit}.mw-parser-output .cs1-hidden-error{display:none;color:var(--color-error,#d33)}.mw-parser-output .cs1-visible-error{color:var(--color-error,#d33)}.mw-parser-output .cs1-maint{display:none;color:#085;margin-left:0.3em}.mw-parser-output .cs1-kern-left{padding-left:0.2em}.mw-parser-output .cs1-kern-right{padding-right:0.2em}.mw-parser-output .citation .mw-selflink{font-weight:inherit}@media screen{.mw-parser-output .cs1-format{font-size:95%}html.skin-theme-clientpref-night .mw-parser-output .cs1-maint{color:#18911f}}@media screen and (prefers-color-scheme:dark){html.skin-theme-clientpref-os .mw-parser-output .cs1-maint{color:#18911f}}
/* end https://en.wikipedia.org/ */
</style><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20200720222143/http://www.pythonware.com/products/pil/license.htm">"Software License"</a>. <i>Secret Labs AB</i>. Archived from <a rel="nofollow" class="external text" href="http://www.pythonware.com/products/pil/license.htm">the original</a> on 20 July 2020<span class="reference-accessdate">. Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-hg-2"><span class="mw-cite-backlink">^ <a href="#cite_ref-hg_2-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-hg_2-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20150315041249/http://hg.effbot.org/pil-2009-raclette">"effbot / pil-2009-raclette"</a>. Archived from <a rel="nofollow" class="external text" href="http://hg.effbot.org/pil-2009-raclette">the original</a> on 15 March 2015<span class="reference-accessdate">. Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-website-3"><span class="mw-cite-backlink">^ <a href="#cite_ref-website_3-0"><sup><i><b>a</b></i></sup></a> <a href="#cite_ref-website_3-1"><sup><i><b>b</b></i></sup></a></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20201121102218/http://www.pythonware.com/products/pil/">"Python Imaging Library"</a>. <i>Secret Labs AB</i>. Archived from <a rel="nofollow" class="external text" href="http://www.pythonware.com/products/pil/">the original</a> on 21 November 2020<span class="reference-accessdate">. Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-4"><span class="mw-cite-backlink"><b><a href="#cite_ref-4">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://pillow.readthedocs.io/en/stable/releasenotes/">"Release Notes"</a>. <i>Pillow (PIL Fork) Documentation</i><span class="reference-accessdate">. Retrieved <span class="nowrap">February 5,</span> 2025</span>.</cite></span>
</li>
<li id="cite_note-pillow-5"><span class="mw-cite-backlink"><b><a href="#cite_ref-pillow_5-0">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://pillow.readthedocs.org/en/latest/">"Pillow: a modern fork of PIL"</a><span class="reference-accessdate">. Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-6"><span class="mw-cite-backlink"><b><a href="#cite_ref-6">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://packages.debian.org/sid/python-imaging">"Details of package python-imaging in sid"</a>. <i>packages.debian.org</i>. <a href="Software_in_the_Public_Interest" title="Software in the Public Interest">Software in the Public Interest</a><span class="reference-accessdate">. Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-7"><span class="mw-cite-backlink"><b><a href="#cite_ref-7">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://packages.ubuntu.com/raring/python/python-imaging">"Details of package python-imaging in raring"</a>. <i>ubuntu.com</i>. <a href="Canonical_Ltd." class="mw-redirect" title="Canonical Ltd.">Canonical Ltd.</a><span class="reference-accessdate"> Retrieved <span class="nowrap">December 8,</span> 2013</span>.</cite></span>
</li>
<li id="cite_note-8"><span class="mw-cite-backlink"><b><a href="#cite_ref-8">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://pillow.readthedocs.io/en/stable/reference/PyAccess.html">"PyAccess Module"</a>. <i>readthedocs.io</i><span class="reference-accessdate">. Retrieved <span class="nowrap">September 20,</span> 2024</span>.</cite></span>
</li>
<li id="cite_note-9"><span class="mw-cite-backlink"><b><a href="#cite_ref-9">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://pillow.readthedocs.io/en/stable/reference/ImageFilter.html">"ImageFilter Module"</a>. <i>readthedocs.io</i><span class="reference-accessdate">. Retrieved <span class="nowrap">September 20,</span> 2024</span>.</cite></span>
</li>
<li id="cite_note-10"><span class="mw-cite-backlink"><b><a href="#cite_ref-10">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="https://pillow.readthedocs.io/en/stable/reference/ImageColor.html">"ImageColor Module"</a>. <i>readthedocs.io</i><span class="reference-accessdate">. Retrieved <span class="nowrap">September 20,</span> 2024</span>.</cite></span>
</li>
<li id="cite_note-11"><span class="mw-cite-backlink"><b><a href="#cite_ref-11">^</a></b></span> <span class="reference-text"><cite class="citation web cs1"><a rel="nofollow" class="external text" href="http://effbot.org/imagingbook/decoder.htm">"D. Writing Your Own File Decoder"</a>. Effbot.org<span class="reference-accessdate">. Retrieved <span class="nowrap">2014-01-28</span></span>.</cite></span>
</li>
</ol></div></div>
<div class="mw-heading mw-heading2"><h2 id="External_links">External links</h2></div>
<ul><li><span class="official-website"><span class="url"><a rel="nofollow" class="external text" href="https://web.archive.org/web/20201121102218/http://www.pythonware.com/products/pil/">Official website</a></span></span></li>
<li><a rel="nofollow" class="external text" href="https://web.archive.org/web/20200914010747/https://effbot.org/imagingbook/">PIL Library reference</a></li>
<li><span class="noviewer" typeof="mw:File"></span> <a href="https://en.wikibooks.org/wiki/Python_Imaging_Library" class="extiw external" title="wikibooks:Python Imaging Library">Python Imaging Library</a> at Wikibooks</li>
<li><a rel="nofollow" class="external text" href="https://python-pillow.github.io/">Pillow (Successor project)</a></li>
<li><a rel="nofollow" class="external text" href="https://gethowstuff.com/python-pillow-pil-tutorial-examples/">PIL Tutorial Examples</a></li></ul></div><!--htdig_noindex--><div><div class="zim-footer">
This article is issued from <a class="external text" title="Last edited on 2025-02-05" href="https://en.wikipedia.org/wiki/?title=Python_Imaging_Library&oldid=1274193252">Wikipedia</a>. The text is available under <a class="external text" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en">Creative Commons Attribution-Share Alike 4.0</a> unless otherwise noted. Additional terms may apply for the media files.
</div>
</div><!--/htdig_noindex--></div>
</div>
</main>
</div>
</div>
</div>
</body></html>